import java.util.ArrayList;
import java.util.EnumMap;
import java.util.List;
import model.*;
import model.pieces.Piece;

public class GameContext
{
    EnumMap<Color, Piece[]> _pieces;
    ChessBoard _chessBoard;
    List<Move> _moves;
    
    public GameContext()
    {
        _pieces = new EnumMap<Color, Piece[]>(Color.class);
        _chessBoard = new ChessBoard();
        _moves = new ArrayList<Move>();
    }
    
    private EnumMap<Color, Piece[]> createPieces()
    {
        EnumMap<Color, Piece[]> pieces = new EnumMap<Color, Piece[]>(Color.class);
        
        for(Color key : Color.values())
        {
            pieces.put(key, createPieceSet(key));
        }
        
        return pieces;
    }

    private Piece[] createPieceSet(Color color)
    {        
        return new Piece[16];
    }
    
}
